<template>
    <div class='tmp'>
        <div class='lunbo'>
            <mt-swipe :auto="3000" :prevent='true'>
                <mt-swipe-item v-for='item in swipelist'>
                    <a :href="item.url">
                        <img class='img' :src="item.img" alt="">
                    </a>
                </mt-swipe-item>
            </mt-swipe>
        </div>
    </div>
</template>
<script>
    import common from '../field/getfield'
    export default{
        props:['swipelist'],
        data(){
            return {
            }

        },
        methods:{
            get(){
                console.log('lunbo'+this.swipelist)
            }
        },
        created(){
            this.get()
        }
    }
</script>
<style scoped>
    .lunbo{
        border-bottom: 1px solid #666666;
        padding-top: 5px;
    }
</style>